import { createApp } from 'vue'
import './style.css'
import App from './App.vue'

import router,{setupRouter} from "./router"
import { setupPlugins } from './plugins'


// createApp(App).use(router).mount('#app')


async function bootstrap(){
    const app = createApp(App)
    setupRouter(app)

    setupPlugins(app)

    await router.isReady();
    
    app.mount('#app')
    
}

bootstrap()
